package com.five.service;

import com.five.pojo.entity.Address;

import java.util.List;

public interface AddressRpcService {

    List<Address> queryAddressById(Long id);

    boolean updateAddressById(Address address);

    boolean deleteAddressById(Long id);

    boolean saveAddress(Address address);

    Address queryOne(Long id);

    Address findDefaultAddress(Long userId);
}
